﻿using _18.观察者模式.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _18.观察者模式
{
    internal class Client
    {
        public void Start()
        {
            Cat cat = new Cat();
            cat.Attach(new Mouse());
            cat.Attach(new Master());
            cat.Nofity();
        }
    }
}
